home *** CD-ROM | disk | FTP | other *** search
/ Venus 7000 / darktronics.iso / Software / Service Packs / Win2kSP4.exe / i386 / ia / netsnmp.in_ / netsnmp.inf
Encoding:
Windows Setup INFormation  |  2003-06-19  |  12.2 KB  |  386 lines

  1. ; NETSNMP.INX
  2. ;
  3. ; Simple Network Management Protocol
  4. ;
  5. ; Copyright (c) 1993-1999, Microsoft Corporation
  6.  
  7. [Version]
  8. Signature="$Windows NT$"
  9. LayoutFile=layout.inf
  10. Provider=%Msft%
  11. DriverVer=03/03/2003,5.00.2195.6675
  12.  
  13. [SNMP]
  14. CopyFiles               = CpyFiles_Sys
  15. DelFiles                = DelObsolete_Sys
  16. Uninstall               = SNMP.Remove
  17. StartServices           = SNMP, SNMPTRAP
  18.  
  19. [SNMP.Remove]
  20. DelReg                  = SNMP.DelReg
  21. DelFiles                = DelFiles_Sys
  22.  
  23. [DestinationDirs]
  24. CpyFiles_Sys            = 11                ;%windir%\System32
  25. DelFiles_Sys            = 11                ;%windir%\System32
  26. DelObsolete_Sys         = 11                ;%windir%\System32
  27.  
  28. [SNMP.Services]
  29. AddService = SNMP, 0x10,         SNMP_Service_Inst,      SNMP_Evt
  30. AddService = SNMPTRAP, 0x10,     SNMPTRAP_Service_Inst,  SNMPTRAP_Evt
  31.  
  32. [SNMP.Remove.Services]
  33. DelService = SNMP, 0x04
  34. DelService = SNMPTRAP, 0x04
  35.  
  36. ;-------------------------------------------------------------------------
  37. ; SNMP subagent sections/entries
  38. ; In order to add an SNMP subagent:
  39. ; - define an entry in each of [SNMP.SNMPAgent] and [SNMP.Remove.SNMPAgent]
  40. ; - define [SNMP.Add<subagent>] and [SNMP.Remove.Del<subagent>]
  41. ; - make sure the binary is copied/removed by [CpyFiles_Sys] and [DelFiles_Sys]
  42. ; - any other particular registry configuration should go in [SNMP.AddReg] and [SNMP.DelReg]
  43. ;-------------------------------------------------------------------------
  44. [SNMP.SNMPAgent]
  45. AddAgent = SNMP.AddLMMIB2Agent
  46. AddAgent = SNMP.AddINETMIB1Agent
  47. AddAgent = SNMP.AddHOSTMIBAgent
  48. AddAgent = SNMP.AddSNMPAgent
  49. AddAgent = SNMP.AddEVNTAgent
  50. AddAgent = SNMP.AddWINSSNMPAgent
  51. AddAgent = SNMP.AddDHCPSNMPAgent
  52. AddAgent = SNMP.AddACSSNMPAgent
  53. AddAgent = SNMP.AddIGMPSNMPAgent
  54. AddAgent = SNMP.AddIPMulticastSNMPAgent
  55. AddAgent = SNMP.AddRIPSNMPAgent
  56. AddAgent = SNMP.AddOSPFSNMPAgent
  57. AddAgent = SNMP.AddBOOTPSNMPAgent
  58. AddAgent = SNMP.AddIPXSNMPAgent
  59. AddAgent = SNMP.AddIASSNMPAgent
  60.  
  61. [SNMP.Remove.SNMPAgent]
  62. DelAgent = SNMP.Remove.DelLMMIB2Agent
  63. DelAgent = SNMP.Remove.DelINETMIB1Agent
  64. DelAgent = SNMP.Remove.DelHOSTMIBAgent
  65. DelAgent = SNMP.Remove.DelSNMPAgent
  66. DelAgent = SNMP.Remove.DelEVNTAgent
  67. DelAgent = SNMP.Remove.DelWINSSNMPAgent
  68. DelAgent = SNMP.Remove.DelDHCPSNMPAgent
  69. DelAgent = SNMP.Remove.DelACSSNMPAgent
  70. DelAgent = SNMP.Remove.DelIGMPSNMPAgent
  71. DelAgent = SNMP.Remove.DelIPMulticastSNMPAgent
  72. DelAgent = SNMP.Remove.DelRIPSNMPAgent
  73. DelAgent = SNMP.Remove.DelOSPFSNMPAgent
  74. DelAgent = SNMP.Remove.DelBOOTPSNMPAgent
  75. DelAgent = SNMP.Remove.DelIPXSNMPAgent
  76. AddAgent = SNMP.Remove.DelIASSNMPAgent
  77.  
  78. [SNMP.AddLMMIB2Agent]
  79. ServiceName = "SNMP"
  80. AgentName = "LANManagerMIB2Agent"
  81. AgentPath = "%SystemRoot%\System32\lmmib2.dll"
  82.  
  83. [SNMP.AddINETMIB1Agent]
  84. ServiceName = "SNMP"
  85. AgentName = "RFC1156Agent"
  86. AgentPath = "%SystemRoot%\System32\inetmib1.dll"
  87.  
  88. [SNMP.AddHOSTMIBAgent]
  89. ServiceName = "SNMP"
  90. AgentName = "HostMIB"
  91. AgentPath = "%SystemRoot%\System32\hostmib.dll"
  92.  
  93. [SNMP.AddSNMPAgent]
  94. ServiceName = "SNMP"
  95. AgentName = "SNMPMIB"
  96. AgentPath = "%SystemRoot%\System32\snmpmib.dll"
  97.  
  98. [SNMP.AddEVNTAgent]
  99. ServiceName = "SNMP"
  100. AgentName = "SNMP_EVENTS"
  101. AgentPath = "%SystemRoot%\System32\evntagnt.dll"
  102.  
  103. [SNMP.AddWINSSNMPAgent]
  104. ServiceName = "WINS"
  105. AgentName = "WINSMibAgent"
  106. AgentPath = "%SystemRoot%\System32\winsmib.dll"
  107.  
  108. [SNMP.AddDHCPSNMPAgent]
  109. ServiceName = "DHCPServer"
  110. AgentName = "DhcpMibAgent"
  111. AgentPath = "%SystemRoot%\System32\dhcpmib.dll"
  112.  
  113. [SNMP.AddACSSNMPAgent]
  114. ServiceName = "RSVP"
  115. AgentName = "ACS"
  116. AgentPath = "%SystemRoot%\System32\acsmib.dll"
  117.  
  118. [SNMP.AddIGMPSNMPAgent]
  119. ServiceName = "RemoteAccess"
  120. AgentName = "IGMPMibAgent"
  121. AgentPath = "%SystemRoot%\System32\igmpagnt.dll"
  122.  
  123. [SNMP.AddIPMulticastSNMPAgent]
  124. ServiceName = "RemoteAccess"
  125. AgentName = "IPMulticastMibAgent"
  126. AgentPath = "%SystemRoot%\System32\mcastmib.dll"
  127.  
  128. [SNMP.AddRIPSNMPAgent]
  129. ServiceName = "RemoteAccess"
  130. AgentName = "RIPMibAgent"
  131. AgentPath = "%SystemRoot%\System32\ripagnt.dll"
  132.  
  133. [SNMP.AddOSPFSNMPAgent]
  134. ServiceName = "RemoteAccess"
  135. AgentName = "OSPFMibAgent"
  136. AgentPath = "%SystemRoot%\System32\ospfagnt.dll"
  137.  
  138. [SNMP.AddBOOTPSNMPAgent]
  139. ServiceName = "RemoteAccess"
  140. AgentName = "BOOTPMibAgent"
  141. AgentPath = "%SystemRoot%\System32\btpagnt.dll"
  142.  
  143. [SNMP.AddIPXSNMPAgent]
  144. ServiceName = "RemoteAccess"
  145. AgentName = "IPXMibAgent"
  146. AgentPath = "%SystemRoot%\System32\rtipxmib.dll"
  147.  
  148. [SNMP.AddIASSNMPAgent]
  149. ServiceName = "IAS"
  150. AgentName = "IASAgent"
  151. AgentPath = "%SystemRoot%\System32\iasperf.dll"
  152.  
  153. [SNMP.Remove.DelLMMIB2Agent]
  154. AgentName = "LANManagerMIB2Agent"
  155.  
  156. [SNMP.Remove.DelINETMIB1Agent]
  157. AgentName = "RFC1156Agent"
  158.  
  159. [SNMP.Remove.DelHOSTMIBAgent]
  160. AgentName = "HostMIB"
  161.  
  162. [SNMP.Remove.DelSNMPAgent]
  163. AgentName = "SNMPMIB"
  164.  
  165. [SNMP.Remove.DelEVNTAgent]
  166. AgentName = "SNMP_EVENTS"
  167.  
  168. [SNMP.Remove.DelWINSSNMPAgent]
  169. AgentName = "WINSMibAgent"
  170.  
  171. [SNMP.Remove.DelDHCPSNMPAgent]
  172. AgentName = "DhcpMibAgent"
  173.  
  174. [SNMP.Remove.DelACSSNMPAgent]
  175. AgentName = "ACS"
  176.  
  177. [SNMP.Remove.DelIGMPSNMPAgent]
  178. AgentName = "IGMPMibAgent"
  179.  
  180. [SNMP.Remove.DelIPMulticastSNMPAgent]
  181. AgentName = "IPMulticastMibAgent"
  182.  
  183. [SNMP.Remove.DelRIPSNMPAgent]
  184. AgentName = "RIPMibAgent"
  185.  
  186. [SNMP.Remove.DelOSPFSNMPAgent]
  187. AgentName = "OSPFMibAgent"
  188.  
  189. [SNMP.Remove.DelBOOTPSNMPAgent]
  190. AgentName = "BOOTPMibAgent"
  191.  
  192. [SNMP.Remove.DelIPXSNMPAgent]
  193. AgentName = "IPXMibAgent"
  194.  
  195. [SNMP.Remove.DelIASSNMPAgent]
  196. AgentName = "IASAgent"
  197.  
  198. ;-------------------------------------------------------------------------
  199. ; File operations performed on SNMP service installation
  200. ; - copy files to %windir%system32 directory
  201. ; - copy files to %windir%help directory
  202. ; - delete obsoleted files from %windir%\system32 directory
  203. ;-------------------------------------------------------------------------
  204. [CpyFiles_Sys]
  205. lmmib2.dll,,,2
  206. hostmib.dll,,,2
  207. snmpmib.dll,,,2
  208. evntagnt.dll,,,2
  209. evntcmd.exe,,,2
  210. evntwin.exe,,,2
  211. snmp.exe,,,2
  212. snmptrap.exe,,,2
  213. acs.mib,,,2
  214. accserv.mib,,,2
  215. authserv.mib,,,2
  216. dhcp.mib,,,2
  217. ftp.mib,,,2
  218. hostmib.mib,,,2
  219. http.mib,,,2
  220. inetsrv.mib,,,2
  221. ipforwd.mib,,,2
  222. lmmib2.mib,,,2
  223. mcastmib.mib,,,2
  224. mib_ii.mib,,,2
  225. mipx.mib,,,2
  226. mripsap.mib,,,2
  227. msft.mib,,,2
  228. msipbtp.mib,,,2
  229. msiprip2.mib,,,2
  230. nipx.mib,,,2
  231. smi.mib,,,2
  232. wfospf.mib,,,2
  233. wins.mib,,,2
  234.  
  235. [DelObsolete_Sys]
  236. snmpcfg.exe,,,1
  237.  
  238. ;-------------------------------------------------------------------------
  239. ; File operations performed when SNMP service gets uninstalled
  240. ; - delete files from %windir%\system32 directory
  241. ; - delete files from %windir%\help directory
  242. ;-------------------------------------------------------------------------
  243. [DelFiles_Sys]
  244. lmmib2.dll,,,1
  245. hostmib.dll,,,1
  246. snmpmib.dll,,,1
  247. evntagnt.dll,,,1
  248. evntcmd.exe,,,1
  249. evntwin.exe,,,1
  250. snmp.exe,,,1
  251. snmptrap.exe,,,1
  252. acs.mib,,,1
  253. accserv.mib,,,1
  254. authserv.mib,,,1
  255. dhcp.mib,,,1
  256. ftp.mib,,,1
  257. hostmib.mib,,,1
  258. http.mib,,,1
  259. inetsrv.mib,,,1
  260. ipforwd.mib,,,1
  261. lmmib2.mib,,,1
  262. mcastmib.mib,,,1
  263. mib_ii.mib,,,1
  264. mipx.mib,,,1
  265. mripsap.mib,,,1
  266. msft.mib,,,1
  267. msipbtp.mib,,,1
  268. msiprip2.mib,,,1
  269. nipx.mib,,,1
  270. smi.mib,,,1
  271. wfospf.mib,,,1
  272. wins.mib,,,1
  273.  
  274. ;-------------------------------------------------------------------------
  275. ; Service Install Sections
  276. ;-------------------------------------------------------------------------
  277. [SNMP_Service_Inst]
  278. DisplayName     =   %SNMP_Display%
  279. ServiceType     =   %SERVICE_WIN32_OWN_PROCESS%
  280. StartType       =   %SERVICE_AUTO_START%
  281. ErrorControl    =   1
  282. ServiceBinary   =   "%%SystemRoot%%\System32\snmp.exe"
  283. Dependencies    =   EventLog
  284. StartName       =   LocalSystem
  285. AddReg          =   SNMP_AddReg
  286. Description     =   %SNMP_Desc%
  287.  
  288. [SNMPTRAP_Service_Inst]
  289. DisplayName     =   %SNMPTRAP_Display%
  290. ServiceType     =   %SERVICE_WIN32_OWN_PROCESS%
  291. StartType       =   %SERVICE_DEMAND_START%
  292. ErrorControl    =   1
  293. ServiceBinary   =   "%%SystemRoot%%\System32\snmptrap.exe"
  294. Dependencies    =   EventLog
  295. StartName       =   LocalSystem
  296. AddReg          =   SNMPTRAP_AddReg
  297. Description     =   %SNMPTRAP_Desc%
  298.  
  299.  
  300.  
  301. [SNMP_AddReg]
  302. HKR,"Parameters",                        "EnableAuthenticationTraps",    0x00010003, 1
  303. HKR,"Parameters",                        "NameResolutionRetries",        0x00010003, 16
  304. HKR,"Parameters\ExtensionAgents",       ,                                0x00000010      ; no values
  305. HKR,"Parameters\PermittedManagers",     ,                                0x00000010      ; no values
  306. HKR,"Parameters\TrapConfiguration",     ,                                0x00000010      ; no values
  307. HKR,"Parameters\ValidCommunities",      ,                                0x00000010      ; no values
  308.  
  309. HKR,"Parameters\RFC1156Agent",                                "sysContact",        0x00000002, ""
  310. HKR,"Parameters\RFC1156Agent",                                "sysLocation",       0x00000002, ""
  311. HKR,"Parameters\RFC1156Agent",                                "sysServices",       0x00010003, 76
  312.  
  313. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog",               "ConfigurationType", 0x00010003, 0
  314. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog",               "TranslatorEnabled", 0x00000002, "No"
  315. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog\Parameters",    "BaseEnterpriseOID", 0x00000002, "1.3.6.1.4.1.311.1.13.1"
  316. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog\Parameters",    "SupportedView",     0x00000002, "2.0"
  317. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog\Sources",       ,                    0x00000010       ; no values
  318.  
  319. [SNMP.DelReg]
  320. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\EvntAgnt"
  321.  
  322. ;-------------------------------------------------------------------------
  323. ; Event sources registered when SNMP is installed
  324. ;-------------------------------------------------------------------------
  325. [SNMP_Evt]
  326. AddReg = SNMP_Evt_AddReg
  327. AddReg = EVNTAGNT_Evt_AddReg
  328. ;-------------------------------------------------------------------------
  329. ; register SNMP.EXE as an event source
  330. ;-------------------------------------------------------------------------
  331. [SNMP_Evt_AddReg]
  332. HKR,, EventMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\snmp.exe"
  333. HKR,, TypesSupported,   %REG_DWORD%,        0x00000007
  334. ;-------------------------------------------------------------------------
  335. ; register EVNTAGNT.DLL as an event source
  336. ;-------------------------------------------------------------------------
  337. [EVNTAGNT_Evt_AddReg]
  338. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\EvntAgnt", EventMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\evntagnt.dll"
  339. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\EvntAgnt", TypesSupported,   %REG_DWORD%,        0x00000007
  340.  
  341. ;-------------------------------------------------------------------------
  342. ; Event sources registered when SNMPTRAP service is installed
  343. ;-------------------------------------------------------------------------
  344. [SNMPTRAP_Evt]
  345. AddReg = SNMPTRAP_Evt_AddReg
  346. ;-------------------------------------------------------------------------
  347. ; register SNMPTRAP.EXE as an event source
  348. ;-------------------------------------------------------------------------
  349. [SNMPTRAP_Evt_AddReg]
  350. HKR,, EventMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\snmptrap.exe"
  351. HKR,, TypesSupported,   %REG_DWORD%,        0x00000007
  352.  
  353. [Strings]
  354. Msft = "Microsoft"
  355.  
  356. ; Service names
  357. SNMP_Display = "SNMP Service"
  358. SNMP_Desc = "Includes agents that monitor the activity in network devices and report to the network console workstation."
  359. SNMPTRAP_Display = "SNMP Trap Service"
  360. SNMPTRAP_Desc = "Receives trap messages generated by local or remote SNMP agents and forwards the messages to SNMP management programs running on this computer."
  361. SNMP_HELP = "Simple Network Management Protocol service that enables a Windows computer to be administered remotely with an SNMP management tool."
  362. Admin_Tools = "Administrative Tools"
  363.  
  364. REG_MULTI_SZ = 0x10000
  365. REG_EXPAND_SZ = 0x20000
  366. FLG_ADDREG_KEYONLY = 0x0010
  367. REG_DWORD = 0x10001
  368. SERVICE_DEMAND_START = 3
  369. SERVICE_AUTO_START = 2
  370. SERVICE_WIN32_SHARE_PROCESS = 32
  371. SERVICE_FILE_SYSTEM_DRIVER = 2
  372. SERVICE_WIN32_OWN_PROCESS = 16
  373.  
  374. ; Characteristic flags
  375. NCF_VIRTUAL                 = 0x0001
  376. NCF_WRAPPER                 = 0x0002
  377. NCF_PHYSICAL                = 0x0004
  378. NCF_HIDDEN                  = 0x0008
  379. NCF_NO_SERVICE              = 0x0010
  380. NCF_NOT_USER_REMOVABLE      = 0x0020
  381. NCF_HAS_UI                  = 0x0080
  382. NCF_MODEM                   = 0x0100
  383.  
  384. KEY_OPTIONAL            = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
  385.  
  386.